/**
 * 
 */
package com.henu.col05023.common;

/**
 * @author hzj
 * 
 */
public class IntCon {
	public static int equalsNull(Object obj, int rep) {
		return (obj == null || obj.toString().equals("")) ? rep : Integer
				.parseInt(obj.toString());
	}

}
